<?php
/**
 * unpor_share模块微站定义
 *
 * @author benhailong
 * @url 
 */

/**
 * 主要入口文件
 */

defined('IN_IA') or exit('Access Denied');

class Zst_marketingModuleSite extends WeModuleSite {

    //doWeb为后台方法
    public function doWebCms() {
        global $_W,$_GPC;

        $this->checkModuleFile();// 验证模块核心文件
        $this->session();// 设置session登录状态
        $this->jump_cms(); // 跳转到独立后台
    }

    //api端：site.php
    public function doMobileCpy() {
        global $_W;
        header('Access-Control-Allow-Origin: *');
        header("Access-Control-Allow-Headers: token,Origin, X-Requested-With,X_Requested_With, Content-Type, Accept");
        header('Access-Control-Allow-Methods: POST,GET,PUT');
        $arr=$_W['setting']['copyright']['footerright'];
        $json=json_encode($arr);
        echo $json;
    }


}
